package cn.dankal.basiclib.pojo;

import android.text.TextUtils;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * Date: 2018/7/17.
 * Time: 11:30
 * classDescription:
 *
 * @author fred
 */
public class UserInfoBean {


    /**
     * avatar : 头像
     * email : email
     * isTourist : 是否游客账号：0:否；1:是
     * name : name
     * phone : phone
     * uuid : uuid
     */

    private String avatar;
    private String email;
    private String isTourist = "1";
    private String name;
    private String phone;

    private String accessToken;
    @JSONField(name = "userUuid", alternateNames = "uuid")
    private String userUuid;
    private long expiresTime;
    private int infoStatus;
    private String sex;
    private String userFavoriteCount;
    private String userInformationCount;
    private String userInformationLikeNumber;
    private String interestTemp;
    private String interest;
    private String carCity;
    private String carProvince;
    //飞歌的token
    private String fgToken;
    //飞歌的id
    private String id;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUserFavoriteCount() {
        return userFavoriteCount;
    }

    public void setUserFavoriteCount(String userFavoriteCount) {
        this.userFavoriteCount = userFavoriteCount;
    }

    public String getUserInformationCount() {
        return TextUtils.isEmpty(userInformationCount)?"0":userInformationCount;
    }

    public void setUserInformationCount(String userInformationCount) {
        this.userInformationCount = userInformationCount;
    }

    public String getUserInformationLikeNumber() {
        return userInformationLikeNumber;
    }

    public void setUserInformationLikeNumber(String userInformationLikeNumber) {
        this.userInformationLikeNumber = userInformationLikeNumber;
    }

    public String getInterestTemp() {
        return interestTemp;
    }

    public void setInterestTemp(String interestTemp) {
        this.interestTemp = interestTemp;
    }

    public String getInterest() {
        return interest;
    }

    public void setInterest(String interest) {
        this.interest = interest;
    }

    public String getCarCity() {
        return carCity;
    }

    public void setCarCity(String carCity) {
        this.carCity = carCity;
    }

    public String getCarProvince() {
        return carProvince;
    }

    public void setCarProvince(String carProvince) {
        this.carProvince = carProvince;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public long getExpiresTime() {
        return expiresTime;
    }

    public void setExpiresTime(long expiresTime) {
        this.expiresTime = expiresTime;
    }

    public boolean isTourist() {
        return isTourist.equals("1");
    }

    public int getInfoStatus() {
        return infoStatus;
    }

    public void setInfoStatus(int infoStatus) {
        this.infoStatus = infoStatus;
    }

    public String getFgToken() {
        return fgToken;
    }

    public void setFgToken(String fgToken) {
        this.fgToken = fgToken;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIsTourist() {
        return isTourist;
    }

    public void setIsTourist(String isTourist) {
        this.isTourist = isTourist;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

}
